import Vue from 'vue'
import Router from 'vue-router'
import store from '@/store/store'
import apple from '@/components/apple'
import banana from '@/components/banana'
import redapple from '@/components/redapple'
import pcx from '@/pc/apple'
Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      redirect:'apple'
    },{
      path: '/apple',
      name: 'apple',
      component: apple
    }
    ,{
      path: '/banana', 
      name: 'banana',
      component: banana
    }
    ,{
      path: '/redapple',
      name: 'redapple',
      component: redapple
    },{
      path: '/pcx',
      name: 'pcx',
      component: pcx
    }
  ]
})
